﻿using IntelligentDataCollection.Device;

namespace IntelligentDataCollection.Service
{
    public class DataService
    {
        public DataService()
        {
            DeviceSerialData deviceSerialData = new DeviceSerialData();
            deviceSerialData.InitConfig();
            deviceSerialData.GetAllDevice();
            deviceSerialData.NetWorkConnect();
            deviceSerialData.CmdSend();
        }
    }
}
